* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif !important;
}

.contenido a
{
  font-size: 22px;
  margin-left: 2vh;
  margin-bottom: 10vh;
  margin-top: -3vh;
}


.contact-menu {
  display: none;
  flex-direction: column;
  background-color: #f6f1ffad;
  border: #932be9 3px solid;
  padding: 2vh;
  border-radius: 1vh;
  margin-top: 1vh;
  position: absolute;
  z-index: 1000;
  color: white;
  width: max-content;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  font-size: 2.6vh;
  right: 4%;
  gap: 5px;
  max-width: 50vh;
}

.contact-menu img{
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

.contact-menu a{
  font-size: 2.8vh;
  color: #932be9;
  text-decoration: none;
  padding: 0.8vh 1vh;
  display: flex;
}

.contact-menu p {
  color: #000000;
  text-decoration: none;
  padding: 0.8vh 1vh;
}

.contact-menu a:hover {
  text-decoration: underline;
}

body {
  font-family: 'Poppins', sans-serif;
  padding: 0 !important;
  margin: 0 !important;
}

.relacionado{
  display: flex;
  flex-direction: column;
  margin-top: 30vh;
}

.relacionado p{
  display: none;
}

.Noti .relacionado h2{
  font-size: 26px;
  color: #9c23ff;
  margin-bottom: 6vh;
  margin-left: 4vh;
}

.noti {
  background-color: white;
  border-radius: 1.5vh;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 400px;
  height: auto !important;
  padding-bottom: 7vh !important;
  transition: transform 0.3s ease;
  text-decoration: none !important;
  margin-bottom: 15vh;
}

.Noti .contenido p{
  font-size: 18px;
  color: #202020;
  margin-bottom: 15vh;
  text-align: justify;
  line-height: 1.6;
  text-indent: 1em; /* sangría de 2 veces el tamaño de letra */

}

header {
  background-image: url('https://centers.biobarica.com/_next/image/?url=https%3A%2F%2Ffirebasestorage.googleapis.com%2Fv0%2Fb%2Fbiobarica-pwa.appspot.com%2Fo%2Fphotos%252FFjClRSbsWhJGB2gszDsG.jpeg%3Falt%3Dmedia%26token%3D67135b19-079e-49fd-9a1d-0e1d46446e90&w=384&q=75');
  background-size: cover;
  background-position: center;
  height: 50vh;
  width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 20vh;
}

.nav {
  width: 100%;
  height: 100px;
  background-color: #fff;
}

nav {
  display: flex;
  background: linear-gradient(to bottom, white, transparent);
  width: 95%;
  height: 20vh;
  margin-left: 5vh;
  margin-right: 2vh;
  align-items: center;
  justify-content: center;
  gap: 8vh;
  position: relative;
}

.links {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1vh !important;
}

nav img {
  height: 25vh;
}

nav a {
  color: rgb(71, 71, 71);
  padding: 1.6vh;
  text-decoration: none;
  font-size: 2.3vh;
}

nav a:hover {
  background-color: rgb(142, 75, 230);
  border-radius: 2vh;
  color: #fff;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.35),
    inset 0 0px 7px rgba(255, 255, 255, 0.2);
  transition: 0.2s;
}

@media (max-width: 768px) {
  nav {
  margin-left: 0;
  margin-right: 0;
}
}

.btn {
  background-color: rgb(142, 75, 230);
  border-radius: 2vh;
  color: #fff;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.35),
    inset 0 0px 7px rgba(255, 255, 255, 0.2);
  font-size: 2.4vh;
  border: none;
  padding: 2vh 5vh;
  margin: 2vh 0;
  display: inline-block;
  text-decoration: none;
  max-width: 90vw;
  text-align: center;
}

.btn:hover {
  background-color: rgb(95, 39, 224);
}


.btn2 {
  background-color: rgb(142, 75, 230);
  border-radius: 2vh;
  color: #fff;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.35),
    inset 0 0px 7px rgba(255, 255, 255, 0.2);
  font-size: 2.4vh;
  border: none;
  padding: 2vh 5vh;
  margin: 1vh 0;
  margin-left: 2vh;
  display: inline-block;
  text-decoration: none;
  max-width: 90vw;
  text-align: center;
}

.btn2:hover {
  background-color: rgb(95, 39, 224);
}

.btn3 {
  background-color: rgba(255, 255, 255, 0.432);
  border-radius: 2vh;
  font-size: 2.6vh;
  border: 2px solid #932be9;
  padding: 2vh 5vh;
  margin: 15vh 0;
  margin-left: 2vh;
  display: inline-block;
  text-decoration: none;
  max-width: 90vw;
  text-align: center;
  color: #932be9;
  transition: 0.3s;
}

.btn3:hover {
  background-color: rgb(254, 235, 255);
  transform: scale(1.05);
}

header .info {
  width: 35%;
  margin-left: 20vh;
}

header .info h1 {
  font-size: 55px;
  color: #fff;
  line-height: 1.3;
  margin-top: 10vh;
  margin-bottom: 7vh;
}

header .info .btn {
  margin-left: 0;
  padding-left: 7vh;
  padding-right: 7vh;
  padding-top: 2vh;
  padding-bottom: 2vh;
  font-size: 3.2vh;
}

header h2{
  margin-top: 15vh;
  font-size: 40px;
  color: #932be9;
}

.noticias {
  padding: 8vh 5vw;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.noticias .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.noticias a{
    text-decoration: none !important;
}

.noti {
  background-color: white;
  border-radius: 1.5vh;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 400px;
  height: 550px;
  transition: transform 0.3s ease;
  text-decoration: none !important;
}

.noti:hover {
  transform: translateY(-5px);
}

.noti img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-bottom: 4px solid #932be9;
}

.noti h3 {
  font-size: 2vh;
  color: #777;
  margin: 2vh 2vw 1vh;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.noti h1 {
  font-size: 3.5vh;
  margin: 0 2vw 1.5vh;
  color: #222;
}

.noti p {
  font-size: 2.5vh;
  line-height: 1.6;
  color: #444;
  margin: 4vh 2vw 5vh;
}






.destacada {
  display: flex;
  background-color: white;
  border-radius: 1.5vh;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 1000px;
  height: 300px;
  transition: transform 0.3s ease;
  margin-bottom: 15vh;
}

.destacada:hover {
  transform: translateY(-5px);
}

.destacada .orden{
  max-width: 600px;
  margin-left: 5vh;
}

.destacada img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-right: 4px solid #932be9;
}


.destacada h1 {
  font-size: 5.5vh;
  margin: 4vh 2vw 1.5vh;
  color: #222;
  
}

.destacada p {
  font-size: 2.4vh;
  line-height: 1.6;
  color: #444;
  margin: 0 2vw 3vh;
}


.hamburger {
  display: none;
  font-size: 4vh;
  background: none;
  border: none;
  color: #2054ff;
  cursor: pointer;
}




.Endless{
  height: 50vh;
  background-color: #fff;
  width: 100%;
  display: flex;
  align-items:first baseline;
  justify-content: center;
  gap: 20vh;
}

.Endless .colums{
  display: flex;
  flex-direction: column;
  margin-top: 10vh;
}

.Endless .colums h3{
  color: #7a7a7a;
  font-weight: 300;
}

.Endless .colums a{
  color: #1a1a1a;
  text-decoration: none;
  margin-top: 3vh;
}

.Endless .colums a:hover{
  color: #932be9;
}

.Noti .relacionado{
  text-decoration: none !important;
}

.Noti{
  display: flex;
  align-items:flex-start;
  justify-content: flex-start;
  gap: 10vh;
  background: linear-gradient(to right, rgb(255, 244, 255), rgb(244, 255, 253));
}

.Noti .contenido{
  display: flex;
  flex-direction: column;
  padding: 7vh;
  width: 57%;
}

.Noti .contenido h2{
  font-size: 24px;
  color: #9c23ff;
  margin-bottom: 3vh;
  margin-left: 4vh;
}

.Noti .contenido h1{
  font-size: 44px;
  color: #000000;
  margin-bottom: 7vh;
}

.Noti .contenido p{
  font-size: 18px;
  color: #202020;
  margin-bottom: 15vh;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    height: auto;
    gap: 2vh;
    padding-top: 3vh;
    align-items: flex-start;
  }

  nav img {
    margin-left: 3vh;
    height: 5vh;
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 3vh;
    right: 4vh;
    z-index: 999;
  }

  nav .links {
    display: none;
    flex-direction: column;
    background-color: rgb(237, 242, 255);
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2vh 0;
    z-index: 998;
  }

  nav .links.show {
    display: flex !important;
  }

  nav .links a {
    padding: 2vh 0;
    font-size: 2.2vh;
    margin-left: 5vh;
  }

  nav .links .btn {
    padding-left: 2vh;
    padding-right: 2vh;
  }

  header{
    height: 30vh;
  }

  header .info {
    width: 90%;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
  }

  header .info h1 {
    font-size: 9.5vw;
  }

  header .info .btn {
    margin-bottom: 15vh;
    padding: 1.5vh 4vh;
    font-size: 2.5vh;
    max-width: 90vw;
    display: block;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .btn {
    font-size: 2.4vh;
    padding: 1.5vh 4vh;
    margin: 2vh auto;
    display: block;
  }

  .Section1,
  .Section2 {
    flex-direction: column;
    height: auto;
    padding: 4vh 2vh;
    text-align: left;
    align-items: flex-start;
    padding-left: 3vh;
  }

  .Section1 img,
  .Section2 img {
    position: static;
    width: 90%;
    height: auto;
    margin-top: 3vh;
  }

  .Section1 .Contenido,
  .Section2 .Contenido {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .Section2 .Contenido h1{
    color: rgb(141, 54, 255);
  }

  .Section3 {
  flex-direction: column;
  padding: 4vh 2vh;
  height: auto;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.Section3 .Contenido {
  width: 100%;
  margin: 0;
  text-align: left;
  align-items: center;
}

.Section3 img {
  position: relative;
  width: 20vw;
  margin-top: 5vh;
  display: block;
}


  .Section3 h1 {
    font-size: 6vw;
  }



  .Section4 {
    flex-direction: column;
    padding: 4vh 2vh;
    align-items: flex-start;
    padding-left: 5vh;
  }

  #container {
    width: 80vw;
    height: 80vw;
    margin: 0;
  }

  .Section4 .informacion {
    width: 100%;
    text-align: left;
  }

  .Section4 .informacion .certificados {
    display: flex;
    text-align: left;
    margin: 5vh 0;
    align-items: center;

  }

  .Section4 .informacion .certificados img {
    width: 40px;
    height: auto;
  }

  .Section4 .informacion .certificados p {
    font-size: 4vw;
  }

  .Section4 .informacion h1,
  .Section4 .informacion h2 {
    font-size: 6vw;
    margin: 4vh 0 2vh 0;
    text-align: left;
  }

  .Endless{
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 0vh;
  }

  .Endless .colums{
    margin-left: 5vh;
  }
}



    .accordion-item {
      background-color: white;
      margin-bottom: 10px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .accordion-header {
      cursor: pointer;
      padding: 15px 20px;
      font-weight: bold;
      background-color: #0070c9;
      color: white;
      transition: background 0.3s ease;
    }

    .accordion-header:hover {
      background-color: #005ea6;
    }

    .accordion-content {
      max-height: 0;
      max-width: 160vh;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      background: #fafafa;
      padding: 0 20px;
      color: #313131;
    }

    .accordion-content p{
      margin-bottom: 3vh;
    }

    .accordion-content li{
      margin-top: 3vh;
      margin-bottom: 3vh;
      margin-left: 5vh;
    }

    .accordion-content.open {
      padding: 5vh;
    }

    /* Responsive para sección Noti y Relacionado */
@media (max-width: 768px) {
  .Noti {
    flex-direction: column;
    gap: 4vh;
    align-items: center;
    justify-content: center;
  }

  .Noti .contenido {
    width: 75%;;
  }

  .Noti .contenido h1 {
    font-size: 10vw !important;
    margin-bottom: 4vh;
  }

  .Noti .contenido h2 {
    font-size: 5vw !important;
    margin-bottom: 1vh;
  }

  .Noti .contenido a {
    font-size: 5vw !important;
    margin-bottom: 8vh;
    margin-top: 3vh;
  }

  .Noti .contenido p {
    font-size: 4vw !important;
    margin-bottom: 6vh;
  }

  .relacionado {
    width: 85%;
    margin-top: 0;
  }

  .relacionado h2 {
    font-size: 5vw;
    margin-bottom: 4vh;
    margin-left: 0;
  }

  .noti {
    width: 100%;
    margin-bottom: 6vh;
    padding-bottom: 5vh;
  }

  .noti h1 {
    font-size: 4.5vw;
  }

  .noti h3 {
    font-size: 3vw;
  }

  .noti p {
    font-size: 3.5vw;
    margin: 2vh;
  }
}

/* Responsive extra para móviles pequeños */
@media (max-width: 480px) {
  .Noti .contenido h1 {
    font-size: 7vw;
  }

  .Noti .contenido p {
    font-size: 4.5vw;
  }

  .relacionado h2 {
    font-size: 6vw;
  }

  .noti h1 {
    font-size: 5vw;
  }

  .noti h3 {
    font-size: 3.5vw;
  }

  .noti p {
    font-size: 4vw;
  }
}